#!/bin/bash

if [ "$1" == "debug" ]; then
        DEBUG="-s -S"
elif [ "$1" == "run" ]; then
        DEBUG=""
fi


qemu-system-aarch64 \
-kernel /home/ubuntu/workspace/aarch64-qemu/aarch64-qemu.bin \
-M virt \
-cpu cortex-a53 \
-nographic \
-semihosting \
$DEBUG